package com.puccampinas.finalproject.core.persistence.abstracts;

import java.sql.Connection;
import java.sql.SQLException;

import com.puccampinas.finalproject.core.persistence.jdbc.Connect;

public abstract class AbstractDAO<T> {
	
    protected Connection connection;

    public AbstractDAO() {
        try {
        	connection = Connect.getInstance().getConnection();
        } catch ( SQLException ex) {
        } catch (ClassNotFoundException ex) {
        } catch (IllegalAccessException ex) {
        } catch (InstantiationException ex) {
		}
        
    }
	
}
